﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CategoriesManager.ascx.cs" Inherits="Framework.Portal.Layouts.Admin.Components.BGTT.Courses.CategoriesManager" %>
<asp:UpdatePanel ID="uppanelDistribution" runat="server" UpdateMode="Conditional" RenderMode="Inline">
    <triggers>
        <asp:AsyncPostBackTrigger ControlID="lstZones" EventName="SelectedNodeChanged" />        
    </triggers>
    <contenttemplate>
    <table class="content" border="0" width="100%" cellpadding="0" cellspacing="1">    
        <tr>
            <td class="postheader" width="30%" align="left" valign="top">
                <table class="content" border="0" width="100%" cellpadding="0" cellspacing="1">
                <tr>
                    <td class="post" width="70%">
                        <asp:DropDownList ID="drpContentType" runat="server" AutoPostBack="true" 
                            DataValueField="key" DataTextField="value" 
                            onselectedindexchanged="drpContentType_SelectedIndexChanged"></asp:DropDownList>
                    </td>
                </tr> 
                <tr>
                    <td class="postheader" width="30%">
                        <asp:TreeView ID="lstZones" runat="server"  ExpandImageUrl="/Resource/Images/icon/14/col.gif" CollapseImageUrl="/Resource/Images/icon/14/exp.gif" NodeStyle-CssClass="TreeNode" NodeIndent="15" NoExpandImageUrl="/Resource/Images/icon/14/noexp.gif"
                    SelectedNodeStyle-CssClass="SelectedTreeNode" OnSelectedNodeChanged="lstZones_SelectedIndexChanged" >                   
                    </asp:TreeView>
                    </td>
                </tr>
                </table>
            </td>           
            <td class="post" width="70%" align="left" valign="top">
                <table class="content" width="100%" border="0" cellpadding="0" cellspacing="1">
                    <tr>
                        <td class="header1" colspan="2" align="left">
                            <asp:Label ID="lblCommandName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="header2" height="18">
                            <asp:Label ID="lblStatusUpdate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>                    
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label1" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="ID" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:Label ID="lblID" runat="server"></asp:Label></td>
                    </tr>
                    <tr>                    
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label3" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="NAME" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:TextBox ID="txtName" runat="server" Width="265"></asp:TextBox></td>
                    </tr>
                     <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label4" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="DESCRIPTION" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:TextBox ID="txtDescription" TextMode="MultiLine" Rows="5" runat="server" Width="265"></asp:TextBox></td>
                    </tr>                    
                    <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label2" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="AVATAR" /></td>
                        <td class="post" width="75%" align="left">                            
                        <NS:FilePicker runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image" Width="265" ID="txtImage"></NS:FilePicker></td>
                    </tr>                   
                    <tr>
                        <td class="postfooter" colspan="2" valign="middle" align="center">
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="UPDATE" ID="cmdUpdate" runat="server" CssClass="pbutton" Width="79px" OnClick="cmdUpdate_Click" />
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="CREATE" ID="cmdAdd" runat="server" CssClass="pbutton" Width="79px" OnClick="cmdAdd_Click" />
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="DELETE" ID="cmdDel" runat="server" CausesValidation="False" CssClass="pbutton" Width="79px" OnClick="cmdDel_Click" />
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="RESET" ID="cmdEmpty" runat="server" CausesValidation="False" CssClass="pbutton" Width="79px" OnClick="cmdEmpty_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </contenttemplate>
</asp:UpdatePanel>